home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / printing / bjf-1.000 / bjf-1 / bjf / bj.h < prev    next >
C/C++ Source or Header  |  1994-02-26  |  1KB  |  36 lines

  1. /* 
  2.  * Copyright 1994 Chris Smith
  3.  *
  4.  * Permission to use, copy, modify, and distribute this software and its
  5.  * documentation for any purpose and without fee is hereby granted,
  6.  * provided that the above copyright notice appears in all copies and that
  7.  * both that copyright notice and this permission notice appears in
  8.  * supporting documentation.  I make no representations about the
  9.  * suitability of this software for any purpose.  It is provided "as is"
  10.  * without express or implied warranty.
  11.  */
  12.  
  13. #define when break; case
  14. #define otherwise break; default
  15. typedef unsigned char uchar;
  16.  
  17. extern void do_init (const char *font, int cpi, int code_page, int draft,
  18.              float lpi, float page_length);
  19. extern void do_fin (void);
  20. extern void fin_string (const char **string, int *len);
  21. extern void do_hskip (int pos);
  22. extern void init_font (int lflag, int x2flag, int x4flag);
  23. extern void send_quoted (uchar c);
  24. extern void bold_on (void);
  25. extern void bold_off (void);
  26. extern void underline_on (void);
  27. extern void underline_off (void);
  28. extern uchar replace_overstrike (uchar a, uchar b);
  29. extern int check_font_name (const char *name);
  30. extern void send_pair (uchar c1, uchar c2);
  31. extern void send_linebuf (int hskip);
  32.  
  33. extern uchar *myfont;
  34.  
  35. #define MAXCOL 179
  36.